#include <stdlib>
#include <stdio.h>
int main (int argc, char* argv[])
{
        float Arr[4];// initialise 
        AssignArray(Array, 4);
        printArray(Array, 4);

      return 0;
}

int printArray(float *Array, int size)
{
        printf("The reversed arrary is: \n");
        int i = 0;
        for(i=4-1; i>=0; i--)// 
        {
                printf("%.2f\n", Array[i]);
        }      
}

int AssignArray(float *Array, int size)
{
        int i = 0;
        for(i=0; i<size; i++)
        {
                printf("Enter 4 numbers: \n");
                scanf("%f", &Array[i]);
        }          
}

